# To create a development version, run python setup.py develop
from setuptools import setup, find_packages

import distutils
from distutils.core import setup, Extension

try:
    import numpy
except:
    raise Exception("Need numpy, from http://numpy.scipy.org/")

setup(
    name = "peppy_aptus_mode",
    version = "0.2",
    description = """Aptus Mandelbrot viewer plugin for peppy""",
    author = "Rob McMullen",
    author_email = "robm@users.sourceforge.net",
    url = "http://peppy.flipturn.org",
    download_url = "http://peppy.flipturn.org/archive",
    
    packages=['aptus'],

    py_modules = ['aptus_mode', 'aptus_panel', 'aptus_actions'],
    
    ext_modules = [
        Extension(
            "aptus.engine",
            sources=["aptus/engine.c"],
            include_dirs=[numpy.get_include()],
            ),
        ],
    
    entry_points="""
    [peppy.plugins]
    Aptus = aptus_mode:AptusPlugin
    """
    )
